[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal GetMenuString(HMENU hMenu, WORD id, char *buf, int maxbuflen,
                         WORD wFlags)

  This function copies the string associated with a menu item into a
user passed buffer.

Parameters
  hMenu is the menu to query.
  id is the identifier associated with the desired item.
  buf is a pointer to a user-defined buffer which will be used to
   store the string.
  maxbuflen is the maximum number of characters to copy into buf.
  wFlags is either MF_BYCOMMANMD or MF_BYPOSITION.

Returns
  Returns the length of the string. If 0 was returned, then one of the
parameters was invalid.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson